package com.lzw.breezeNovel.model.entity.pojo.novel;

import com.lzw.breezeNovel.model.entity.pojo.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity
 * @date 2025/3/2
 * @description 阅读记录实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class ReadRecord extends BaseEntity {

    @Schema(description = "阅读id")
    private Long readId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "小说id")
    private Long bookId;

    @Schema(description = "小说信息")
    private Book book;

    @Schema(description = "章节")
    private Long chapterId;

    @Schema(description = "章节信息")
    private Chapter chapter;

    @Schema(description = "是否加入书架")
    private Boolean isAddShelf;


}
